/**
 * Created by lijtg on 2015/10/21.
 */
$(document).ready(function () {
    var main = {
        config: {
        },
        cache: {
            timer: null
        },
        goInvest: function (){
            var btn = $('#pr-btn-submit');
            if(btn.attr('disabled') == 'disabled') return;
            var phone = '';
			window.location.href=common.hostPath + "/module/customer/callInvest.jsp";

        },
        regHammer: function () {
            var hammer4 = new Hammer($('#pr-btn-submit')[0]);
            hammer4.on('tap', function (ev) {
                main.goInvest();
            });
        },
        init: function () {
            main.regHammer();
        }
    };

    main.init();
});